<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<!--<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">-->

		<title> {:L('cms_name')} </title>
		<meta name="description" content="">
		<meta name="author" content="">
			
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

		<!-- Basic Styles -->
		<link rel="stylesheet" type="text/css" media="screen" href="{$Think.config.CDN_URL}css/bootstrap.min.css">
		<link rel="stylesheet" type="text/css" media="screen" href="css/font-awesome.min.css">

		<!-- SmartAdmin Styles : Please note (smartadmin-production.css) was created using LESS variables -->
		<link rel="stylesheet" type="text/css" media="screen" href="{$Think.config.CDN_URL}css/smartadmin-production.css">
		<link rel="stylesheet" type="text/css" media="screen" href="{$Think.config.CDN_URL}css/smartadmin-skins.css">
		<link rel="stylesheet" type="text/css" media="screen" href="{$Think.config.CDN_URL}css/bootstrap-datetimepicker.min.css">
		<!-- SmartAdmin RTL Support is under construction
		<link rel="stylesheet" type="text/css" media="screen" href="css/smartadmin-rtl.css"> -->

		<!-- We recommend you use "your_style.css" to override SmartAdmin
		     specific styles this will also ensure you retrain your customization with each SmartAdmin update.
		<link rel="stylesheet" type="text/css" media="screen" href="css/your_style.css"> -->

		<!-- Demo purpose only: goes with demo.js, you can delete this css when designing your own WebApp -->
		<link rel="stylesheet" type="text/css" media="screen" href="{$Think.config.CDN_URL}css/demo.css">

		<!-- FAVICONS -->
		<!-- <link rel="shortcut icon" href="img/favicon/favicon.ico" type="image/x-icon">
		<link rel="icon" href="img/favicon/favicon.ico" type="image/x-icon">-->

		<!-- GOOGLE FONT -->
		<!--<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,300,400,700">-->

		<!-- Specifying a Webpage Icon for Web Clip 
			 Ref: https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html -->
		<link rel="apple-touch-icon" href="{$Think.config.CDN_URL}img/splash/sptouch-icon-iphone.png">
		<link rel="apple-touch-icon" sizes="76x76" href="{$Think.config.CDN_URL}img/splash/touch-icon-ipad.png">
		<link rel="apple-touch-icon" sizes="120x120" href="{$Think.config.CDN_URL}img/splash/touch-icon-iphone-retina.png">
		<link rel="apple-touch-icon" sizes="152x152" href="{$Think.config.CDN_URL}img/splash/touch-icon-ipad-retina.png">
		
		<!-- iOS web-app metas : hides Safari UI Components and Changes Status Bar Appearance -->
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		
		<!-- Startup image for web apps -->
		<link rel="apple-touch-startup-image" href="{$Think.config.CDN_URL}img/splash/ipad-landscape.png" media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape)">
		<link rel="apple-touch-startup-image" href="{$Think.config.CDN_URL}img/splash/ipad-portrait.png" media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait)">
		<link rel="apple-touch-startup-image" href="{$Think.config.CDN_URL}img/splash/iphone.png" media="screen and (max-device-width: 320px)">
		<style>
		.table > tbody > tr.odd >td {
			background-color: #FFFFFF;
		}
		.table > tbody > tr.even >td{
			background-color: #F9F9F9;
		}
		
		.table-hover > tbody > tr:hover > td, .table-hover > tbody > tr:hover > th {
			background-color: #F78C40;
			color:#FFFFFF;
		}
		.table > thead > tr > td.danger, .table > tbody > tr > td.danger, .table > tfoot > tr > td.danger, .table > thead > tr > th.danger, .table > tbody > tr > th.danger, .table > tfoot > tr > th.danger, .table > thead > tr.danger > td, .table > tbody > tr.danger > td, .table > tfoot > tr.danger > td, .table > thead > tr.danger > th, .table > tbody > tr.danger > th, .table > tfoot > tr.danger > th {
			background-color: #F78C40;
			color:#FFFFFF;
		}
		.table-hover > tbody > tr > td.danger:hover, .table-hover > tbody > tr > th.danger:hover, .table-hover > tbody > tr.danger:hover > td, .table-hover > tbody > tr.danger:hover > th {
			background-color: #D67632;
			color:#FFFFFF;
		}
		</style>
	</head>
	<body class="{$skin} {:I('cookie.smart-fixed-header','fixed-header')} {:I('cookie.smart-fixed-ribbon','fixed-ribbon')} {:I('cookie.smart-fixed-navigation','fixed-navigation')}">
		<!-- POSSIBLE CLASSES: minified, fixed-ribbon, fixed-header, fixed-width
			 You can also add different skin classes such as "smart-skin-1", "smart-skin-2" etc...-->
		
		<!-- HEADER -->
		<header id="header">
			<div id="logo-group">

				<!-- PLACE YOUR LOGO HERE -->
				<span id="logo"> <img src="{$skin_logo}" alt="{:L('cms_name')}"> </span>
				<!-- END LOGO PLACEHOLDER -->
			</div>

			<!-- pulled right: nav area -->
			<div class="pull-right">

				<!-- collapse menu button -->
				<div id="hide-menu" class="btn-header pull-right">
					<span> <a href="javascript:void(0);" title="Collapse Menu"><i class="fa fa-reorder"></i></a> </span>
				</div>
				<!-- end collapse menu -->

				<!-- logout button -->
				<div id="logout" class="btn-header transparent pull-right">
					<span> <a href="{:U('login/logout')}" title="Sign Out" data-logout-msg="You can improve your security further after logging out by closing this opened browser"><i class="fa fa-sign-out"></i></a> </span>
				</div>
				<!-- end logout button -->

				<!-- search mobile button (this is hidden till mobile view port) -->
				<!--<div id="search-mobile" class="btn-header transparent pull-right">
					<span> <a href="javascript:void(0)" title="Search"><i class="fa fa-search"></i></a> </span>
				</div>-->
				<!-- end search mobile button -->

				<!-- input: search field -->
				<!--<form action="#ajax/search.html" class="header-search pull-right">
					<input type="text" name="param" placeholder="Find reports and more" id="search-fld">
					<button type="submit">
						<i class="fa fa-search"></i>
					</button>
					<a href="javascript:void(0);" id="cancel-search-js" title="Cancel Search"><i class="fa fa-times"></i></a>
				</form>-->
				<!-- end input: search field -->

				<!-- fullscreen button -->
				<div id="fullscreen" class="btn-header transparent pull-right">
					<span> <a href="javascript:void(0);" onclick="launchFullscreen(document.documentElement);" title="Full Screen"><i class="fa fa-fullscreen"></i></a> </span>
				</div>
				<!-- end fullscreen button -->


			<ul class="nav navbar-nav pull-right">
				<li class="dropdown dropdown-large"><a href="#"
					class="dropdown-toggle" data-toggle="dropdown">
					<if condition="$Think.const.APP_STATUS eq kangzishangcheng">康姿商城</if> 
					 <b class="caret"></b></a>

					<ul class="dropdown-menu hao-change row">
						
                        
	                            <li  class="col-sm-6 col-md-3 <eq name="Think.const.APP_STATUS" value="kangzishangcheng">active</eq>" >
	                                <a href="javascript:void(0);" data-lan="kangzishangcheng"> 康姿商城</a>
	                            </li>
                            
					</ul>
				</li>
			</ul>


			
                
				<!-- multiple lang dropdown : find all flags in the image folder -->
				<ul class="header-dropdown-list hidden-xs">
					<li>
						<a href="#" class="dropdown-toggle language-btn" data-toggle="dropdown"> <img alt="" src="img/flags/cn.png"> <span> 中文 </span> <i class="fa fa-angle-down"></i> </a>
						<ul class="dropdown-menu pull-right language-change">
							<li <eq name="Think.const.LANG_SET" value="zh-cn">class="active"</eq> >
								<a href="javascript:void(0);" data-lan="zh-cn"><img alt="" src="img/flags/cn.png"> 中文</a>
							</li>
							<li <eq name="Think.const.LANG_SET" value="en-us">class="active"</eq> >
								<a href="javascript:void(0);" data-lan="en-us"><img alt="" src="img/flags/us.png"> English</a>
							</li>
						</ul>
					</li>
				</ul>
				<!-- end multiple lang -->

			</div>
			<!-- end pulled right: nav area -->

		</header>
		<!-- END HEADER -->

		<!-- Left panel : Navigation area -->
		<!-- Note: This width of the aside area can be adjusted through LESS variables -->
		<aside id="left-panel">

			<!-- User info -->
			<div class="login-info">
				<span> <!-- User image size is adjusted inside CSS, it should stay as it --> 
					
					<a href="#" id="show-shortcut" target="_blank">
                        <img src="{$Think.session.user_avatar}" alt="me" class="online" /> 
						<span>
							{$Think.session.username} 
						</span>
						<!--<i class="fa fa-angle-down"></i>-->
					</a> 
					
				</span>
			</div>
			<!-- end user info -->

			<!-- NAVIGATION : This navigation is also responsive

			To make this navigation dynamic please make sure to link the node
			(the reference to the nav > ul) after page load. Or the navigation
			will not initialize.
			-->
			<nav>
				<!-- NOTE: Notice the gaps after each icon usage <i></i>..
				Please note that these links work a bit different than
				traditional href="" links. See documentation for details.
				-->

				<ul>
					{:W('Menu/leftMenu')}
				</ul>
			</nav>
			<span class="minifyme"> <i class="fa fa-arrow-circle-left hit"></i> </span>

		</aside>
		<!-- END NAVIGATION -->

		<!-- MAIN PANEL -->
		<div id="main" role="main">

			<!-- RIBBON -->
			<div id="ribbon">
				<!--<span class="ribbon-button-alignment" ><a href="{:U('Index/lock')}" target="_self" title="lock screen"><i class="btn btn-ribbon fa  fa-lock"></i></a></span>-->
				<span class="ribbon-button-alignment"> <span id="refresh" class="btn btn-ribbon" data-title="refresh"  rel="tooltip" data-placement="bottom" data-original-title="<i class='text-warning fa fa-warning'></i> Warning! This will reset all your widget settings." data-html="true" data-reset-msg="Would you like to RESET all your saved widgets and clear LocalStorage?"><i class="fa fa-refresh"></i></span> </span>

				<!-- breadcrumb -->
				<ol class="breadcrumb">
					<!-- This is auto generated -->
				</ol>
				<!-- end breadcrumb -->
                
				<!-- You can also add more buttons to the
				ribbon for further usability

				Example below:

				<span class="ribbon-button-alignment pull-right">
				<span id="search" class="btn btn-ribbon hidden-xs" data-title="search"><i class="fa-grid"></i> Change Grid</span>
				<span id="add" class="btn btn-ribbon hidden-xs" data-title="add"><i class="fa-plus"></i> Add</span>
				<span id="search" class="btn btn-ribbon" data-title="search"><i class="fa-search"></i> <span class="hidden-mobile">Search</span></span>
				</span> -->

				<!-- 布局设置 -->
				<div class="demo">
				    <span id="demo-setting">
				        <i class="fa fa-cog txt-color-blueDark">
				        </i>
				    </span>
				    <form>
				        <legend class="no-padding margin-bottom-10">
				            {:L('layout_options')}
				        </legend>
				        <section>
				            <label>
				                <input name="subscription" id="smart-fixed-nav" type="checkbox" class="checkbox style-0">
				                <span>
				                    {:L('fixed_header')}
				                </span>
				            </label>
				            <label>
				                <input type="checkbox" name="terms" id="smart-fixed-ribbon" class="checkbox style-0">
				                <span>
				                    {:L('fixed_ribbon')}
				                </span>
				            </label>
				            <label>
				                <input type="checkbox" name="terms" id="smart-fixed-navigation" class="checkbox style-0">
				                <span>
				                    {:L('fixed_navigation')}
				                </span>
				            </label>
				            <label>
				                <input type="checkbox" name="terms" id="smart-fixed-container" class="checkbox style-0">
				                <span>
				                    Inside
				                    <b>
				                        .container
				                    </b>
				                    <div class="font-xs text-right">
				                        (non-responsive)
				                    </div>
				                </span>
				            </label>
				            <label style="display:none;">
				                <input type="checkbox" name="terms" id="smart-rtl" class="checkbox style-0">
				                <span>
				                    Right to left
				                    <b>
				                        (rtl)
				                    </b>
				                </span>
				            </label>
				            <span id="smart-bgimages">
				            </span>
				        </section>
				        <section>
				            <h6 class="margin-top-10 semi-bold margin-bottom-5">
				                {:L('clear_localstorage')}
				            </h6>
				            <a href="javascript:void(0);" class="btn btn-xs btn-block btn-primary"
				            id="reset-smart-widget">
				                <i class="fa fa-refresh">
				                </i>
				                {:L('widget_reset')}
				            </a>
				        </section>
				        <h6 class="margin-top-10 semi-bold margin-bottom-5">
				            {:L('choose_skins')}
				        </h6>
				        <section id="smart-styles">
				            <a href="javascript:void(0);" id="smart-style-0" data-skinlogo="img/logo.png"
				            class="btn btn-block btn-xs txt-color-white margin-right-5" style="background-color:#4E463F;">
				             
				                Smart Default
				            </a>
				            <a href="javascript:void(0);" id="smart-style-1" data-skinlogo="img/logo-white.png"
				            class="btn btn-block btn-xs txt-color-white" style="background:#3A4558;">
				                Dark Elegance
				            </a>
				            <a href="javascript:void(0);" id="smart-style-2" data-skinlogo="img/logo-blue.png"
				            class="btn btn-xs btn-block txt-color-darken margin-top-5" style="background:#fff;">
				                Ultra Light
				            </a>
				            <a href="javascript:void(0);" id="smart-style-3" data-skinlogo="img/logo-pale.png"
				            class="btn btn-xs btn-block txt-color-white margin-top-5" style="background:#f78c40">
				               <i class="fa fa-check fa-fw" id="skin-checked">
				                </i>
				                Google Skin
				            </a>
				        </section>
				    </form>
				</div>
				<!-- tipinfo start -->
				<style>
				.tipinfo_index{
					background-color: rgba(217,083,079,0.7);
					position:absolute; 
 					z-index:999;
					top:40px;
					width:100%;
					text-align:center;
					font-size:14px;
					height:25px;
					line-height:25px;
					display:none;
				}
				</style>
				<div class="tipinfo_index row">
				</div>
		<!-- tipinfo end -->
			</div>
			<!-- END RIBBON -->

			<!-- MAIN CONTENT -->
			<div id="content">

			</div>
			<!-- END MAIN CONTENT -->
			
			<div style="display: none">
				<div id="dialog_confirm" title="警告">
					<p></p>
				</div>
			</div>
		</div>
		<!-- END MAIN PANEL -->

		<!-- SHORTCUT AREA : With large tiles (activated via clicking user name tag)
		Note: These tiles are completely responsive,
		you can add as many as you like
		-->
		<!--<div id="shortcut">
			<ul>
				<li>
					<a href="#ajax/inbox.html" class="jarvismetro-tile big-cubes bg-color-blue"> <span class="iconbox"> <i class="fa fa-envelope fa-4x"></i> <span>Mail <span class="label pull-right bg-color-darken">14</span></span> </span> </a>
				</li>
				<li>
					<a href="#ajax/calendar.html" class="jarvismetro-tile big-cubes bg-color-orangeDark"> <span class="iconbox"> <i class="fa fa-calendar fa-4x"></i> <span>Calendar</span> </span> </a>
				</li>
				<li>
					<a href="#ajax/gmap-xml.html" class="jarvismetro-tile big-cubes bg-color-purple"> <span class="iconbox"> <i class="fa fa-map-marker fa-4x"></i> <span>Maps</span> </span> </a>
				</li>
				<li>
					<a href="#ajax/invoice.html" class="jarvismetro-tile big-cubes bg-color-blueDark"> <span class="iconbox"> <i class="fa fa-book fa-4x"></i> <span>Invoice <span class="label pull-right bg-color-darken">99</span></span> </span> </a>
				</li>
				<li>
					<a href="#ajax/gallery.html" class="jarvismetro-tile big-cubes bg-color-greenLight"> <span class="iconbox"> <i class="fa fa-picture-o fa-4x"></i> <span>Gallery </span> </span> </a>
				</li>
				<li>
					<a href="#ajax/profile.html" class="jarvismetro-tile big-cubes selected bg-color-pinkDark"> <span class="iconbox"> <i class="fa fa-user fa-4x"></i> <span>My Profile </span> </span> </a>
				</li>
			</ul>
		</div>-->
		<!-- END SHORTCUT AREA -->

		<!--================================================== -->

		<!-- PACE LOADER - turn this on if you want ajax loading to show (caution: uses lots of memory on iDevices)
		<script data-pace-options='{ "restartOnRequestAfter": true }' src="js/plugin/pace/pace.min.js"></script>-->

		<!-- Link to Google CDN's jQuery + jQueryUI; fall back to local -->
		<!--<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>-->
		<script src="{$Think.config.CDN_URL}js/libs/jquery-2.0.2.min.js"></script>
		<script src="{$Think.config.CDN_URL}js/libs/jquery-ui-1.10.3.min.js"></script>
		<!-- JS TOUCH : include this plugin for mobile drag / drop touch events
		<script src="js/plugin/jquery-touch/jquery.ui.touch-punch.min.js"></script> -->

		<!-- BOOTSTRAP JS -->
		<script src="{$Think.config.CDN_URL}js/bootstrap/bootstrap.min.js"></script>

		<!-- CUSTOM NOTIFICATION -->
		<script src="{$Think.config.CDN_URL}js/notification/SmartNotification.min.js"></script>

		<!-- JARVIS WIDGETS -->
		<script src="{$Think.config.CDN_URL}js/smartwidgets/jarvis.widget.min.js"></script>







		<!-- JQUERY VALIDATE -->
		<script src="{$Think.config.CDN_URL}js/plugin/jquery-validate/jquery.validate.min.js"></script>

		<!-- JQUERY MASKED INPUT -->
		<script src="{$Think.config.CDN_URL}js/plugin/masked-input/jquery.maskedinput.min.js"></script>

		<!-- JQUERY SELECT2 INPUT -->
		<script src="{$Think.config.CDN_URL}js/plugin/select2/select2.min.js"></script>

		<!-- JQUERY UI + Bootstrap Slider -->
		<script src="{$Think.config.CDN_URL}js/plugin/bootstrap-slider/bootstrap-slider.min.js"></script>

		<!-- browser msie issue fix -->
		<script src="{$Think.config.CDN_URL}js/plugin/msie-fix/jquery.mb.browser.min.js"></script>

		<!-- FastClick: For mobile devices: you can disable this in app.js -->
		<script src="{$Think.config.CDN_URL}js/plugin/fastclick/fastclick.js"></script>

		<!-- jquery.cookie.js. more see https://github.com/carhartl/jquery-cookie -->
		<script src="{$Think.config.CDN_URL}js/plugin/jquery-cookie/jquery.cookie.js"></script>

		<!-- jquery-form.js. more see http://jquery.malsup.com/form/ -->
		<script src="{$Think.config.CDN_URL}js/plugin/jquery-form/jquery-form.min.js"></script>
		<script src="{$Think.config.CDN_URL}js/plugin/bootstrap-timepicker/bootstrap-datetimepicker.js"></script>

        <script src="{$Think.config.CDN_URL}js/uploadify/jquery.uploadify.min.js"></script>
		<!--[if IE 7]>

		<h1>Your browser is out of date, please update your browser by going to www.microsoft.com/download</h1>

		<![endif]-->

		<!-- Demo purpose only -->
		<script src="{$Think.config.CDN_URL}js/demo.js"></script>
		
		
		<!-- MAIN APP JS FILE -->
		<script src="{$Think.config.CDN_URL}js/app/global.js"></script>
		<script src="{$Think.config.CDN_URL}js/app.js?v=2"></script>

		<!--本页JS -->
		<script type="text/javascript">
			function showLanguage(){
				var $li = $(".language-change li.active");
				if( $li.length==0){
					return ;
				}
				var img = $li.find('img').attr('src');
				var txt = $li.find("a").text();

				$('.language-btn').find("span").html(txt);
				$('.language-btn').find("img").attr("src",img);
				
			}
			showLanguage();
			

			//语言切换
			$(".language-change a").click(function () {
			    var $this = $(this);
			    var lan = $this.attr("data-lan");
			    if(!lan||lan==null||lan==''){
			    	return ;
			    }
			    $.cookie('think_language', lan);
			    window.location.reload();
			});
			
	         //微信号切换
            $(".hao-change a").click(function () {
                var $this = $(this);
                var lan = $this.attr("data-lan");
                if(!lan||lan==null||lan==''){
                    return ;
                }
                $.cookie('hh', lan);
                window.location.reload();
            });
	         
			//提示框距离
			$(document).ready(function(){ 
			　　    $(window).scroll(function (){
			　　      var top = $(window).scrollTop()
			       if(top>90){
			    	   var offsetTop = $(window).scrollTop()-50 +"px";   
			       }else{
			    	   var offsetTop = $(window).scrollTop()+ 40 +"px";   
			       }
			　　                 
			　　          $(".tipinfo_index").animate({top : offsetTop },{ duration:100 , queue:false });
			　　    });
			});
			//提示框
			function showhidetip(tip,seconds,bgcolor){
				if(bgcolor){
					//rgba(217,083,079,0.5)
					$(".tipinfo_index").css("background-color",bgcolor);
				}
				$('.tipinfo_index').html(tip);
				$('.tipinfo_index').slideDown();
				if( seconds ){
					seconds = seconds*1000;
					window.setTimeout("$('.tipinfo_index').slideUp()",seconds);
				}
			}
		</script>
	</body>

</html>
